<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.5,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!-- UC应用模式 -->
    <meta name="browsermode" content="application">
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <title>工单管理</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/LCalendar.css">
    <link rel="stylesheet" href="css/yd_rl.css" />
</head>
<body>
    <!-- 公共头部 -->
    <div class="g2_head-bg">
        <!-- 返回上一层 -->
        <p class="g2_head_goback-bg fl">
            <a href="index.html">
                <img src="images/xky_icon0-1.png" class="g2_head_goback_icon fl" alt="">
                <span class="g2_head_goback_del fl">返回</span>
            </a>
        </p>
        <p class="ym-tit fl">工单列表</p>
        <span class="g2_head_goback_del fr khxz_color">新增</span>
        <span class="g2_head_goback_del fr gdlb_sx" style="display:block;">筛选</span>
        <div class="cl"></div>
    </div>
    <div class="g2_head-bg2"></div>

    <!-- 工单列表 -->
    <div class="gdlb-bg" id="gdgl1">
        <form action="">
            <ul class="gdlb">
                <li class="gdlb_list gdlb_cjd">
                    <a href="成交单详情.html">
                        <p class="gdlb_tite">
                            <span class="gdlb_username fl">王群翔</span>
                            <span class="gd_cjzt fl">成交单</span>
                            <span class="gd_cjhs fl">未核算</span>
                            <div class="cl"></div>
                        </p>
                        <p class="gdlb_lylx">省内游</p>
                        <p class="gdlb_xq">
                            <span>日期 : </span>
                            <span class="gdlb_date">2017.10.18</span>
                            <span class="gdlb_place">
                                (
                                <span>海南</span>
                                )
                            </span>
                            <span class="gdlb_bq fr">亲子游</span>
                            <div class="cl"></div>
                        </p>
                    </a>
                </li>
                <li class="gdlb_list gdlb_yxd">
                    <a href="意向单详情.html">
                        <p class="gdlb_tite">
                            <span class="gdlb_username fl">王倩</span>
                            <span class="gd_cjzt fl">意向单</span>
                            <span class="gd_cjhs fl">商谈</span>
                            <div class="cl"></div>
                        </p>
                        <p class="gdlb_lylx">出境游</p>
                        <p class="gdlb_xq">
                            <span>日期 : </span>
                            <span class="gdlb_date">2017.10.20</span>
                            <span class="gdlb_place">
                                (
                                <span>泰国</span>
                                )
                            </span>
                            <span class="gdlb_bq fr">夕阳红</span>
                            <div class="cl"></div>
                        </p>
                    </a>
                </li>
            </ul>
            <a href="工单录入.html">
                <input type="button" class="gdlb_xd-btn" value="下单">
            </a>
            
        </form>
    </div>
        <!-- 工单列表筛选 -->
        <div class="gdlb_sx-bg" id="gdgl2">
            <form action="">
                <ul class="khs2">
                    <li class="khs2_list">
                        <p class="khs2_tit fl">客户姓名</p>
                        <input type="text" class="khs2_del fl" placeholder="请填写客户姓名" value="">
                        <div class="cl"></div>
                    </li>
                    <li class="khs2_list">
                        <p class="khs2_tit fl">旅游类型</p>
                        <span class="sewv fl">
                            <span class="sewvtop">
                                <span>请选择旅游类型</span>
                                <em>
                                    <img src="images/xky_icon9.png">
                                </em>
                            </span>
                            <ul class="sewvbm">
                                <li>国内游</li>
                                <li>出境游</li>
                                <li>周边游</li>
                                <li>省内游</li>
                            </ul>
                        </span>
                        <div class="cl"></div>
                    </li>
                    <li class="khs2_list">
                        <p class="khs2_tit fl">旅游地点</p>
                        <span class="sewv fl">
                            <span class="sewvtop">
                                <span>请选择旅游地点</span>
                                <em>
                                    <img src="images/xky_icon9.png">
                                </em>
                            </span>
                            <ul class="sewvbm">
                                <li>北京</li>
                                <li>上海</li>
                                <li>杭州</li>
                                <li>郑州</li>
                            </ul>
                        </span>
                        <div class="cl"></div>
                    </li>
                    <li class="khs2_list">
                        <p class="khs2_tit fl">标签</p>
                        <span class="sewv fl">
                            <span class="sewvtop">
                                <span>请选择标签</span>
                                <em>
                                    <img src="images/xky_icon9.png">
                                </em>
                            </span>
                            <ul class="sewvbm">
                                <li>夕阳红</li>
                                <li>亲子游</li>
                                <li>度蜜月</li>
                                <li>毕业旅行</li>
                            </ul>
                        </span>
                        <div class="cl"></div>
                    </li>
                    <li class="khs2_list">
                        <p class="khs2_tit fl">旅游时间</p>
                        <p class="khs2_del fl" style="position:relative;">
                            <input type="text" name="start_date" id="start_date" placeholder="开始日期" readonly="readonly" style="border:1px solid #999;border-radius:4px;width:48%;left:0;top:20px;height:50px;text-align:center;" />
                            <!-- <input type="text" name="start_date" id="start_date" placeholder="开始日期" readonly="readonly" style="border:1px solid #999;border-radius:4px;width:40%;right:0;top:20px;height:50px;text-align:center;"
                            /> -->
                            <input type="text" name="end_date" id="end_date" placeholder="结束日期" readonly="readonly" style="border:1px solid #999;border-radius:4px;width:48%;right:0;top:20px;height:50px;text-align:center;" />
                        </p>
                        <div class="cl"></div>
                    </li>
                    <li class="khs2_list">
                        <p class="khs2_tit fl">状态</p>
                        <span class="sewv fl">
                            <span class="sewvtop">
                                <span>请选择状态类型</span>
                                <em>
                                    <img src="images/xky_icon9.png">
                                </em>
                            </span>
                            <ul class="sewvbm">
                                <li>...</li>
                                <li>...</li>
                            </ul>
                        </span>
                        <div class="cl"></div>
                    </li>
                    <input type="sibmit" class="gdsx_search-btn" value="搜索">
                </ul>
            </form>
        </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/fastclick.min.js"></script>
</body>
    <script src="js/LCalendar.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/index.js" type="text/javascript" charset="utf-8"></script>
    <script>
        $(function () {
            FastClick.attach(document.body);
        });
        window.onload = function (event) {
            location.hash = 'gdgl1';
            $("#gdgl1").show();
            $("#gdgl2").hide();
        }

        $(window).on('hashchange', function (e) {
            var id = location.hash.substr(1);
            $("#" + id).show()

            if (id == "gdgl1") {
                $("#gdgl1").show();
                $("#gdgl2").hide();
                $('.ym-tit').html('工单列表');
            } else if (id == "gdgl2") {
                $("#gdgl2").show();
                $("#gdgl1").hide();
                $('.ym-tit').html('工单列表筛选');
            }

        })
        // 工单列表点击出现筛选
        $('.gdlb_sx').click(function () {
            location.hash = 'gdgl2';
            $("#gdgl2").show();
            $("#gdgl1").hide();
            $('.ym-tit').html('工单列表筛选');
        })
        // 工单列表筛选结束
        $('.gdsx_search-btn').click(function () {
            location.hash = 'gdgl1';
            $("#gdgl1").show();
            $("#gdgl2").hide();
            $('.ym-tit').html('工单列表');
        })
    </script>
    <script type="text/javascript">
        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#start_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });

        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#end_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });
    // $('.date_btn').click(function () {
    //     alert(111);
    //     $('.grzx_xgdate').css('display', 'block');
    // })

    </script>
</html>